-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[bugfix] aws_rds_cluster: Fix inability to update serverlessv2_scaling_configuration.min_capacity argument from 1 to 0
#44545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…lessv2_scaling_configuration` block
Community GuidelinesThis comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀 Voting for Prioritization
Pull Request Authors
|
serverlessv2_scaling_configuration.min_capacity argument from 1 to 0
|
@tabito-hara is this supposed to fix the issue when going in the opposite direction? When |
|
@ivanfoo terraform-provider-aws/internal/service/rds/cluster.go Lines 2357 to 2361 in 03d14bb
|
|
Thank you so much @tabito-hara, I've just seen the fix was included in the release version 5.96 |
Rollback Plan
If a change needs to be reverted, we will publish an updated version of the library.
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
Description
min_capacitycould not be changed from1to0.verify.SuppressMissingOptionalConfigurationBlock, configured as theDiffSuppressFuncfor theserverlessv2_scaling_configurationblock, is invoked not only for the block itself but also for its elements, includingmin_capacity.0and the old value is1, which exactly matches the behavior observed formin_capacityin this issue.serverlessv2_scaling_configuration.#, which excludesmin_capacity.min_capacityis changed from1to0.Relations
Closes #44468
Output from Acceptance Testing